package com.java.mapper;

import com.java.entity.PsUser;

import java.util.HashMap;
import java.util.List;

/**
 * @author caiyuan
 * @version 1.0
 * @Date 2020/6/11 13:24 Dream-Seeker
 * @Description
 */
public interface PsUserMapper {
    PsUser login( String userName, String password);

    List<PsUser> getAllUser();

    PsUser getUserbyName(String userName);

    Integer selectCount();

    List<PsUser> findByPage(HashMap<String, Object> map);

    Integer setLoginTime(PsUser user);
}
